<%--
  Created by IntelliJ IDEA.
  User: 18148
  Date: 2020/6/10
  Time: 14:36
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<form action="/web/register" method="post">
    用户名：<input type="text" name="username"><br>
    密码：<input type="password" name="password"><br>
    <input type="submit" name="注册">
</form>
<div>
    <%-- 获取request域 --%>
    <% String msg=(String) request.getAttribute("error_register"); %>
    <%=msg==null?"":msg%>
</div>
</body>
</html>
